package cn.iocoder.yudao.module.hs.controller.admin.rawmaterialorder.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 领料单信息新增/修改 Request VO")
@Data
public class RawMaterialOrderSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "11990")
    private Long id;

    @Schema(description = "领料单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "领料单号不能为空")
    private String code;

    @Schema(description = "领料单行号")
    private String rawMaterialOrderNo;

    @Schema(description = "物料代码")
    private String modeCode;

    @Schema(description = "数量", example = "5291")
    private Integer materialCount;

    @Schema(description = "发货地点编号")
    private String fromWarehouseCode;

    @Schema(description = "收货地点")
    private String toWarehouseCode;

    @Schema(description = "凭证日期")
    private LocalDateTime recordDate;

}